package com.zw.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class BudgetDto {

    @NotNull(message = "项目ID不能为空")
    @Schema(description = "项目ID")
    private Long projectId;

    @NotNull(message = "模板ID不能为空")
    @Schema(description = "模板ID")
    private Long templateId;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "父类ID")
    private Long parentId;

    @Schema(description = "是否显示子项 默认不显示")
    private Boolean showChildren = false;

    private List<Long> parentIds;
}
